<?php

namespace app\miniapp\model;

use think\Model;

class BannerModel extends Model
{
    protected $name = 'banner';

    public function getImageAttr($img)
    {
        return request()->domain() . $img;
    }
}